package db;

import java.util.ArrayList;

public class UserData {

	
//Declaring user data  variables
    
    //user name 
    private String userLoginName;
    
    //user full name 
    private String userFullName;
    
    //user phone number
    private String phoneNumber;
    
    //user table ID
    private int userID;
    
    //user rewards put in an array
    private ArrayList<UserReward> userRewards;
    
    //user total pesos
    private int totalPesos;
    
    
    //user image
    private String userImage;


  //user location
    private String storeLocation;
    
  //user birthday
    private String userBirthday;
    
  //user last login
    private String userLastLogin;
    
    //user email
    private String userEmail;
    
  //user password
    private String password;
    //user Active
    private int userActive;
    
  //user roleR
    private int userRole;
    
    /**
     * Creates user data object that contains the following
     * @param userLoginName
     * @param userFullName
     * @param phoneNumber
     * @param userTableId
     * @param userRewards
     * @param totalPesos
    * @param userImage
    * @param storeLocation
     * @param userBirthday
     * @param userLastLogin
    * @param userEmail
    * @param password
    * @param userActive
    * @param userRole
     */
    
    /**
     * Generate Constructor
     */
    
    public UserData(
    			String userLoginName
    			,String userFullName
    			,String phoneNumber
    			,int userID
    			,ArrayList<UserReward> userRewards
    			,int totalPesos
    			,String userImage
    			,String storeLocation
    			,String userBirthday
    		     ,String userLastLogin
    		    ,String userEmail
    		    ,String password) {
    	this.userLoginName = userLoginName;
   	 	this.userFullName = userFullName;
   	 	this.phoneNumber = phoneNumber;
   	 	this.userID = userID;
   	 	this.userRewards = userRewards;
   	 	this.totalPesos = totalPesos;
   	 	this.userImage = userImage;
   	 	this.storeLocation = storeLocation;
   	 	this.userBirthday = userBirthday;
	 	this.userLastLogin = userLastLogin;
	 	this.userEmail = userEmail;
	 	this.password = password;
   	 	
    }

    public UserData(
			String userLoginName
			,String userFullName
			,String phoneNumber
			,int userID
			,String userEmail
			,int totalPesos
			,String password
			,String userBirthday
			,int userActive
			,int userRole
			) {
	this.userLoginName = userLoginName;
	 	this.userFullName = userFullName;
	 	this.phoneNumber = phoneNumber;
	 	this.userID = userID;
	 	this.userEmail = userEmail;
	 	this.totalPesos = totalPesos;
	 	this.password = password;
	 	this.userBirthday = userBirthday;
	 	this.userActive = userActive;
	 	this.userRole = userRole;
	 	
	 	//TODO: query for user rewards
	 	//TODO: query for user total peso
	 	
		
	 	
}
	public String getUserLoginName() {
		return userLoginName;
	}

	public void setUserLoginName(String userLoginName) {
		this.userLoginName = userLoginName;
	}

	public String getUserFullName() {
		return userFullName;
	}

	public void setUserFullName(String userFullName) {
		this.userFullName = userFullName;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public int getUserID() {
		return userID;
	}

	public int getUserTableId() {
		return userID;
	}
	
	public void setUserTableId(int userTableId) {
		this.userID = userTableId;
	}

	public ArrayList<UserReward> getUserRewards() {
		return userRewards;
	}

	public void setUserRewards(ArrayList<UserReward> userRewards) {
		this.userRewards = userRewards;
	}

	

	public String getUserImage() {
		return userImage;
	}

	public void setUserImage(String userImage) {
		this.userImage = userImage;
	}

	public String getStoreLocation() {
		return storeLocation;
	}

	public void setStoreLocation(String storeLocation) {
		this.storeLocation = storeLocation;
	}

	public String getUserBirthday() {
		return userBirthday;
	}

	public void setUserBirthday(String userBirthday) {
		this.userBirthday = userBirthday;
	}

	public String getUserLastLogin() {
		return userLastLogin;
	}

	public void setUserLastLogin(String userLastLogin) {
		this.userLastLogin = userLastLogin;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getTotalPesos() {
		return totalPesos;
	}

	public void setTotalPesos(int totalPesos) {
		this.totalPesos = totalPesos;
	}

	public int getUserActive() {
		return userActive;
	}

	public void setUserActive(int userActive) {
		this.userActive = userActive;
	}

	public int getUserRole() {
		return userRole;
	}

	public void setUserRole(int userRole) {
		this.userRole = userRole;
	}
}
